<template>
  <router-view />
</template>

<script setup lang="ts">
import { RouterView } from 'vue-router'
/* eslint-disable */
// console.log('dev全局变量：', __DEV__)
import { onMounted, computed } from 'vue'
const showEnv = computed(() => {
  return '提交时间：' + __VUE_APP_BUILD_TIME__ +
        '\n ' +
        '需求名称：' + __VUE_APP_BRANCH__ +
        '\n' + 
        ' 分支名称：' + __VUE_APP_MESSAGE__
})
onMounted(() => {
  window.version = {
    message: `${__VUE_APP_BRANCH__}`,
    date: `${__VUE_APP_BUILD_TIME__}`,
    branch: `${__VUE_APP_MESSAGE__}`
  }
  console.log(`%c ${showEnv.value}`, 'background:#333;color:#fff')
})
</script>

<style lang="scss">
// @import '@/assets/style/style.scss'
</style>
